/*
package com.tony.business.controller;

import com.tony.domain.bo.JsonResult;
import com.tony.domain.enumerate.ErrorEnum;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

*/
/**
 * @author 96543
 *//*

@ApiIgnore
@RestController
public class ErrorController {

    @GetMapping("/400")
    public JsonResult<?> badRequest() {
        return new JsonResult<>(ErrorEnum._100400);
    }

    @GetMapping("/401")
    public JsonResult<?> unauthorized() {
        return new JsonResult<>(ErrorEnum._100401);
    }

    @GetMapping("/403")
    public JsonResult<?> forbidden() {
        return new JsonResult<>(ErrorEnum._100403);
    }

    @GetMapping("/404")
    public JsonResult<?> notFound() {
        return new JsonResult<>(ErrorEnum._100404);
    }

    @GetMapping("/405")
    public JsonResult<?> methodNotAllowed() {
        return new JsonResult<>(ErrorEnum._100405);
    }

    @GetMapping("/500")
    public JsonResult<?> internalServerError() {
        return new JsonResult<>(ErrorEnum._100500);
    }

}
*/
